package com.smkj.kaoqin.modules.doorkeeper.pojo.db;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考勤记录表
 * </p>
 *
 * @author yztyear
 * @since 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("attendance_records")

@Schema(description = "考勤记录表")
public class AttendanceRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "关联学生id")
    private Integer studentId;

    @Schema(description = "扫码进出类型")
    private Integer type;

    @Schema(description = "操作时间")
    private LocalDateTime dataTime;

    @Schema(description = "关联请假单表主键id")
    private Integer leaveRequestId;


}
